package com.fangyu.lottery.exception;

import lombok.Getter;

/**
 * 抽奖异常类
 * @author fangyu
 * @version v1.0.0
 * @since 2025/8/27 23:50
 */
@Getter
public class LotteryException extends RuntimeException {
    private final String code;

    public LotteryException(String message, String code) {
        super(message);
        this.code = code;
    }

}